package com.quanyan.orderpay.entity;

import com.quanyan.pay.enums.TradeTypeEnum;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author songzj
 * @date 16/6/7-15:48
 */
public class PaySuccessData {

    private String orderNo; //订单号.

    private String tsn; //第三方平台交易号.
    private String sellerId; // 卖家id
    private String sellerAccount; // 卖家账户

    private BigDecimal payAmount; //购买者实际支付金额

    private Date payTime; //第三方平台收到用户支付时间.

    private TradeTypeEnum tradeType; //JSAPI APP NATIVE APP

    private String buyerId; //购买者第三方平台ID

    private String buyerAccount; //购买者第三方平台账号

    private String buyerBank; //购买者使用银行

    private String sourceType;//1:第三方 2:重发

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public String getSellerAccount() {
        return sellerAccount;
    }

    public void setSellerAccount(String sellerAccount) {
        this.sellerAccount = sellerAccount;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getTsn() {
        return tsn;
    }

    public void setTsn(String tsn) {
        this.tsn = tsn;
    }

    public BigDecimal getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(BigDecimal payAmount) {
        this.payAmount = payAmount;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(String buyerId) {
        this.buyerId = buyerId;
    }

    public String getBuyerAccount() {
        return buyerAccount;
    }

    public void setBuyerAccount(String buyerAccount) {
        this.buyerAccount = buyerAccount;
    }

    public String getBuyerBank() {
        return buyerBank;
    }

    public void setBuyerBank(String buyerBank) {
        this.buyerBank = buyerBank;
    }

    public TradeTypeEnum getTradeType() {
        return tradeType;
    }

    public void setTradeType(TradeTypeEnum tradeType) {
        this.tradeType = tradeType;
    }
}
